﻿@model TenderSampleApp.Models.Profile.PhysicalUserProfileModel
@{
    ViewBag.Title = "SaveProfile";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>
    Ваш профайл</h2>
<div class="profile">
    <div class="display-field">
        @Html.LabelFor(model => model.Lastname)
        @Html.DisplayFor(model => model.Lastname)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.FirstName)
        @Html.DisplayFor(model => model.FirstName)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.Surname)
        @Html.DisplayFor(model => model.Surname)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.Phone)
        @Html.DisplayFor(model => model.Phone)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.Index)
        @Html.DisplayFor(model => model.Index)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.Region)
        @Html.DisplayFor(model => model.Region)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.District)
        @Html.DisplayFor(model => model.District)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.City)
        @Html.DisplayFor(model => model.City)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.Street)
        @Html.DisplayFor(model => model.Street)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.Build)
        @Html.DisplayFor(model => model.Build)
    </div>
    @if (Model.Apartment != null && Model.Apartment != 0)
    {
        <div class="display-field">
            @Html.LabelFor(model => model.Apartment)
            @Html.DisplayFor(model => model.Apartment)
        </div>
    }
    <div class="display-field">
        @Html.LabelFor(model => model.BirthdayYear)
        @Html.DisplayFor(model => model.BirthdayYear)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.DateOfIssueСertificate)
        @Model.DateOfIssueСertificate.ToString("dd'/'MM'/'yyyy")
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.CertificateSeries)
        @Html.DisplayFor(model => model.CertificateSeries)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.NumberCertificate)
        @Html.DisplayFor(model => model.NumberCertificate)
    </div>
    <div class="display-field">
        @Html.LabelFor(model => model.CertificateIssueBy)
        @Html.DisplayFor(model => model.CertificateIssueBy)
    </div>
</div>
